﻿/* PROJECT ETERNAL - SOURCE CODE
 * RELEASED UNDER GNU GPL v3
 * 
 * A STUDENT WRITTEN OPEN SOURCE SIDE SCROLLING VIDEO GAME
 * 
 */

//CHANGE LOG
/* 2.20.12 - ADDED CLASS - RUNS - BACON
 * 
 */

/*
 * 
 * 
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace ETERNAL
{
    class DrawableObject
    {
        protected Vector2 objectPos;
        protected AnimatedSprite animatedSprite;

        public Rectangle BoundingBox
        {
            get
            {
                return new Rectangle((int)objectPos.X, (int)objectPos.Y,
                    animatedSprite.objectSprite.Width, animatedSprite.objectSprite.Height);
            }
        }
        public DrawableObject() { }
        public virtual void LoadContent(ContentManager cM) { }
        public virtual void UpdateObject() { }
        public virtual void DrawObject(SpriteBatch spriteBatch) { }
    }
}
